package com.todo.strategy.pipeline.application.entity.context;

import com.todo.strategy.pipeline.common.enums.OperateActionEnum;
import com.todo.strategy.pipeline.common.enums.StrategyActionEnum;
import lombok.Data;

/**
 * @author azhebuxing
 * @date 2025/3/1 05:34
 * @description
 */
@Data
public class StrategyActionContext {

    /**
     * 业务唯一key
     */
    private String uniKey;
    /**
     * 业务场景
     */
    private StrategyActionEnum strategyActionEnum;
    /**
     * 操作类型
     */
    private OperateActionEnum operateActionEnum;
    /**
     * 业务主键
     */
    private Long businessId;
    /**
     * 原始数据
     */
    private String originData;
    /**
     * 是否启用版本校验
     */
    private Boolean enableVersion = false;
    /**
     * 当前版本
     */
    private Integer currentVersion;
}
